package com.isoftstone.demo.service.impl;

import com.isoftstone.demo.dao.AgencyDao;
import com.isoftstone.demo.pojo.Agency;
import com.isoftstone.demo.service.AgencyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * AuThor：StAY_
 * Create:2020/11/22
 */
@Service
public class AgencyServiceImpl implements AgencyService {

    @Autowired
    AgencyDao agencyDao;
    public Agency findAgencyByName(String username){
        return agencyDao.findAgencyByName(username);
    }
}
